hfields[1][1] == QChar('w'), hfields[1][3] == QChar('w'), hfields[1][5] == QChar('w'),
hfields[0] == "file",
hfields[0] == "serial",
- QStringList() << hfields[3],
+ hfields[3].split('/'),
optionList,
optionList2, htmlPage);
if (htmlPage.length() > 0 && Format::getHtmlBase().length() == 0) {
ff_vecs_t* vec;
const char* name;
const char* desc;
- const char* extension;
+ const char* extensions; // list of possible extensions separated by '/', first is output default for GUI.
const char* parent;
} vecs_t;
"gdb",
NULL,
},
- {
- >c_vecs,
- "gtrnctr",
- "Garmin Training Center (.xml)",
- "xml",
- NULL,
- },
{
&mapsend_vecs,
"mapsend",
{
>c_vecs,
"gtrnctr",
- "Garmin Training Center (.tcx)",
- "xml",
+ "Garmin Training Center (.tcx/.crs/.hst/.xml)",
+ "tcx/crs/hst/xml",
NULL,
},
{
svp[i] = (vecs_t*) xcalloc(1, sizeof** svp);
svp[i]->name = svec->name;
svp[i]->vec = (ff_vecs_t*) xmalloc(sizeof(*svp[i]->vec));
- svp[i]->extension = xcsv_file.extension;
+ svp[i]->extensions = xcsv_file.extension;
*svp[i]->vec = *vec_list[0].vec; /* Interits xcsv opts */
/* Reset file type to inherit ff_type from xcsv for everything
* except the xcsv format itself, which we leave as "internal"
disp_v2(vec->vec);
}
printf("%s\t%s\t%s%s%s\n", vec->name,
- vec->extension? vec->extension : "",
+ vec->extensions? vec->extensions : "",
vec->desc,
version >= 3 ? "\t" : "",
version >= 3 ? vec->parent : "");